package com.yiba.vpn.authorization.model;

/**
 * Token的Model类，可以增加字段提高安全性，例如时间戳、url签名
 *
 * @author Liuyang
 * @date 2017/10/30.
 */
public class UserModel {

    //account
    private String account;

    //vpnId
    private String vpnId;

    //拼接生成的token
    private String token;

    //是否是领取试用服务的新用户 0不是 1：是
    private Integer newTestService;

    public UserModel() {
    }

    public UserModel(String account, String vpnId, String token, Integer newTestService) {
        this.account = account;
        this.vpnId = vpnId;
        this.token = token;
        this.newTestService = newTestService;
    }

    public String getVpnId() {
        return vpnId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Integer getNewTestService() {
        return newTestService;
    }

    public void setNewTestService(Integer newTestService) {
        this.newTestService = newTestService;
    }
}
